home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sspev.z / sspev
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSSSSSPPPPEEEEVVVV((((3333SSSS))))                                                            SSSSSSSSPPPPEEEEVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SSPEV - compute all the eigenvalues and, optionally, eigenvectors of a
  10.      real symmetric matrix A in packed storage
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SSPEV( JOBZ, UPLO, N, AP, W, Z, LDZ, WORK, INFO )
  14.  
  15.          CHARACTER     JOBZ, UPLO
  16.  
  17.          INTEGER       INFO, LDZ, N
  18.  
  19.          REAL          AP( * ), W( * ), WORK( * ), Z( LDZ, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      SSPEV computes all the eigenvalues and, optionally, eigenvectors of a
  36.      real symmetric matrix A in packed storage.
  37.  
  38. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  39.      JOBZ    (input) CHARACTER*1
  40.              = 'N':  Compute eigenvalues only;
  41.              = 'V':  Compute eigenvalues and eigenvectors.
  42.  
  43.      UPLO    (input) CHARACTER*1
  44.              = 'U':  Upper triangle of A is stored;
  45.              = 'L':  Lower triangle of A is stored.
  46.  
  47.      N       (input) INTEGER
  48.              The order of the matrix A.  N >= 0.
  49.  
  50.      AP      (input/output) REAL array, dimension (N*(N+1)/2)
  51.              On entry, the upper or lower triangle of the symmetric matrix A,
  52.              packed columnwise in a linear array.  The j-th column of A is
  53.              stored in the array AP as follows:  if UPLO = 'U', AP(i + (j-
  54.              1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2*n-
  55.              j)/2) = A(i,j) for j<=i<=n.
  56.  
  57.              On exit, AP is overwritten by values generated during the
  58.              reduction to tridiagonal form.  If UPLO = 'U', the diagonal and
  59.              first superdiagonal of the tridiagonal matrix T overwrite the
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSSSSSPPPPEEEEVVVV((((3333SSSS))))                                                            SSSSSSSSPPPPEEEEVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              corresponding elements of A, and if UPLO = 'L', the diagonal and
  75.              first subdiagonal of T overwrite the corresponding elements of A.
  76.  
  77.      W       (output) REAL array, dimension (N)
  78.              If INFO = 0, the eigenvalues in ascending order.
  79.  
  80.      Z       (output) REAL array, dimension (LDZ, N)
  81.              If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
  82.              eigenvectors of the matrix A, with the i-th column of Z holding
  83.              the eigenvector associated with W(i).  If JOBZ = 'N', then Z is
  84.              not referenced.
  85.  
  86.      LDZ     (input) INTEGER
  87.              The leading dimension of the array Z.  LDZ >= 1, and if JOBZ =
  88.              'V', LDZ >= max(1,N).
  89.  
  90.      WORK    (workspace) REAL array, dimension (3*N)
  91.  
  92.      INFO    (output) INTEGER
  93.              = 0:  successful exit.
  94.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  95.              > 0:  if INFO = i, the algorithm failed to converge; i off-
  96.              diagonal elements of an intermediate tridiagonal form did not
  97.              converge to zero.
  98.  
  99. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  100.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  101.  
  102.      This man page is available only online.
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.